//
//  GRAudioDownloader.h
//  GRFMRemotePlayer_Example
//
//  Created by GR on 2018/1/17.
//  Copyright © 2018年 guorui. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol GRAudioDownloaderDelegate<NSObject>

- (void)downloading;

@end

@interface GRAudioDownloader : NSObject

- (void)downloadWithURL:(NSURL *)url offset:(long long)offset;

@property (weak, nonatomic) id<GRAudioDownloaderDelegate> delegate;

@property (copy, nonatomic, readonly) NSString *mineType;
@property (assign, nonatomic, readonly) long long loadedSize;
@property (assign, nonatomic, readonly) long long offset;
@property (assign, nonatomic, readonly) long long totalSize;
@end
